package com.ceshiren.mini.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@ApiModel("测试计划实体类")
public class PlanDTO {

    /**
     * 主键
     */
    private Integer id;

    //测试计划名称
    @ApiModelProperty(value = "测试计划名称")
    private String name;

    //对应测试用例列表 testCaseListId
    @ApiModelProperty(value = "对应测试用例列表",example = "[1,4,99]")
    List<Integer> testcase_ids;

    //对应测试用例列表 testCaseListId
    @ApiModelProperty(value = "对应查询时测试用例列表",example = "[1,4,99]")
    List<Integer> testcases;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Integer> getTestcase_ids() {
        return testcase_ids;
    }

    public void setTestcase_ids(List<Integer> testcase_ids) {
        this.testcase_ids = testcase_ids;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "PlanTDO{" +
                "name='" + name + '\'' +
                ", testcase_ids=" + testcase_ids +
                '}';
    }
}
